<?php
/* 
 * Connecting to MySQL db repository.
 */

$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$dbname = 'report';

@ $conn = mysql_pconnect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
if ( !mysql_select_db($dbname, $conn) ) die ('Error connecting to mysql database');

?>
